Dave Slusher

Dave Slusher

3 minute read

Over the weekend I ran into a problem that gave the “too many errors: 88% scanned” error in one of my Script Includes. I had to figure part of it out on my own and then lo and behold andrew.kincaid also answered it in the community yesterday. When I presented at the inaugural ServiceNow Developer Meetup in Seattle, I did a demo of the Istanbul Script Debugger. I noted that in the application I am currently developing, almost all of the serious logic lives in Script Includes.

Dave Slusher

3 minute read

Over the last year, one of the big efforts that josh.nerius has been pursuing is getting the ServiceNow Developer Meetups active and rolling. A year ago we had a core set of three of them that were active, now thanks to his hard work we have 22 meetups around the world and that number is still growing. I am going to go on a bit of a road show this summer attending a few of them and I wanted to highlight them.

Dave Slusher

3 minute read

I note from answering feedback on the Developer Portal that some fraction of developers seem to be confused by the emails informing them that their Personal Developer Instance is upgrading. Usually these are patch releases such as the current update to Istanbul Patch 5 Hot Fix 1 that is presently rolling through our server farm. 1) What does this mean? Those notices are a warning that you will have a period of downtime, somewhere between 60 and 120 minutes, and that it would be a good idea to backup important work to you to hedge against the small chance of a problem.

Dave Slusher

2 minute read

YouTube video: https://youtu.be/zN91QeAziew The Live Coding Team: dave.slusher, ctomasi, josh.nerius In this episode, we continue working with the Istanbul era Automated Testing Framework. In this one we work on incorporating Jasmine tests to do server-side actions and assertions. Much of this episode is spent reverse engineering and logging to figure out what structures are available to us at various points. Video Index 00:00 - Introductions 02:00 - Discussing Automated Test Framework and Server-side scripting

Dave Slusher

4 minute read

tl;dr If you use Stream Writers in your Scripted REST API, explicitly set the HTTP status or it won’t work the way you expect. Muuuuch longer version This is based on a problem a coworker (and sometimes cohost) saw yesterday. He set up a Scripted REST API that returned about 200 records in a JSON object, total payload was ~36k. When loaded in the browser directly, it worked fine. Consumed via either curl or a different instance with a REST message, nothing ever moved down the wire.

Dave Slusher

1 minute read

YouTube video:B https://youtu.be/JrVGodtzY3U The Live Coding Team: dave.slusher, ctomasi, josh.nerius In this episode, Dave Slusher, Josh Nerius and Chuck Tomasi examine using Moment.js as a tool for putting some coherence in the Travel Tracker application where every single flight brings in: local time at origin, local time at the destination, instance local time and UTC. These can be and often are four different timezones! Can we use Moment.js to help?

Dave Slusher

2 minute read

YouTube video: https://youtu.be/R1Qgz51T4wI The Live Coding Team: dave.slusher, ctomasi, josh.nerius In this episode, we work with the Sift API in order to parse emails. Specifically, the involved generation of the signature in order to validate the request is the main thrust of this session. We begin with two requests that outwardly seem the same and work through why they signatures first are different and then generate different results between using NodeJS and the integration from a ServiceNow instance.

Dave Slusher

8 minute read

This is a continuation of the trip report of our trip to India for Developer Days. Part 1 is here. After concluding the Hyderabad Developer Day event, we rolled right into the evening program. The reason for having a separate event in the evening was two-fold. It both allowed for us to serve the population of people who couldn’t take the whole day off work but also was intended to build an organization around an ongoing Hyderabad ServiceNow Developer Meetup.

Dave Slusher

8 minute read

The ServiceNow Developer Program recently went on the road in the form of a road trip to India. This will be a bit of a departure for blog posts here in the form of a trip report. We will return you to your regular diet of nerdy technical posts shortly. India is an important market for the Developer Program. By any metric you choose to examine, it is always the second largest demographic behind the USA.

Dave Slusher

6 minute read

The Istanbul release included the Automated Testing Framework. This is the first time that the platform itself has included any significant mechanism for automated testing. There are third party solutions such as Cerna’s CapIO but none actually included in the product until Istanbul. Let’s take a look at this framework in depth to see what it includes.

Tests: A list of all Tests cases defined on the system. A Test is basically one transaction from beginning to end and is composed of a series of Test Steps.